package com.example.springboottest.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/*
 **@Author:youpeng
 **Created on 2022/4/7
 */
@Controller
public class MainController {
    @RequestMapping("/index")
    @ResponseBody
    public String index(){
        return "hello world!";
    }
}
